
import os
import sys
from src.missing.ml_fill import ml_fill_missing_values

# 设置项目根目录
BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../"))
if BASE_DIR not in sys.path:
    sys.path.insert(0, BASE_DIR)

# 输入输出路径配置
input_path = os.path.join(BASE_DIR, "data", "2_missing_value_analysis", "filled", "needFill_indicators_filled.csv")
output_path = os.path.join(BASE_DIR, "data", "2_missing_value_analysis", "filled", "needFill_indicators_filled_ML.csv")

# 执行机器学习填补
ml_fill_missing_values(input_path, output_path)
